import Vue from 'vue'
import App from './App.vue'
import router from './router'
import TypeNav from './components/TypeNav'
import store from './store'
import './mock/mockSever'
import Pagination from './components/Pagination'
import Dialog from '@/components/Dialog'
import { Button, row, Message } from 'element-ui';

Vue.config.productionTip = false
Vue.component(TypeNav.name, TypeNav)
Vue.component(Pagination.name, Pagination)
Vue.component(Dialog.name, Dialog)
// Vue.component(Button.name, Button);
// Vue.component(row.name, row);
// Vue.component(Message.name, Message);
Vue.prototype.$message = Message;
Vue.use(Button)
Vue.use(row)





new Vue({
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App),
  router,
  store,
}).$mount('#app')
